﻿/// <reference path="_namespace.js" />
//TODO: Ensure _namespace.js exists and contains our namespace and all library references.
//TODO: Change (global replace) "myAjaxApp" Application namespace to your preference.

/*****************************************************************************
Ajaxna library Interface definition.
Author: $username$ $time$.
Class:  myAjaxApp.$fileinputname$
Description:
This template shows how to define an Interface in Ajaxna.

Really, it's just a class, defined in the normal way, except all methods are abstract (blank), although even that is not required.
The class can either inherit from another in the normal way, or not inherit by passing null or a blank string as the second
argument to $extend(). As normal, $extend MUST be called however in order for the class to be properly registered.

In order to inherit this interface, a class would need to call the $supports() method. The author can then temporarily trick
to the Interface prototype (or each one in turn if multiple) in order to get intellisense to all the abstract base methods he is 
required to implement, and stub them out. When they are stubbed, he can revert to the true base class trick and implement the interface as normal.
*****************************************************************************/

$addNamespace("myAjaxApp");
//-----------------------------------------------------------------------------

myAjaxApp.$fileinputname$ = function(){}; // ctor should be blank.
$extend("myAjaxApp.$fileinputname$", ""); // You may also inherit from another interface.
//-----------------------------------------------------------------------------

// Public members
//-----------------------------------------------------------------------------

// Public Methods
//-----------------------------------------------------------------------------
// TODO: Specify your interface here. 
// Note: The Prototype is written long hand (as usual) in case you did specify a base class. Just stub them out with parameter signatures.
myAjaxApp.$fileinputname$.prototype.get_text = function() { };
myAjaxApp.$fileinputname$.prototype.set_text = function(value) { };

// Statics
//-----------------------------------------------------------------------------
myAjaxApp.$fileinputname$.cast = function(obj)
{///<returns type="myAjaxApp.$fileinputname$"/>
    return obj;
}